/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the Source EULA. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-split-view {
	position: relative;
}

.monaco-split-view > .split-view-view {
	overflow: hidden;
}

.monaco-split-view.vertical > .split-view-view {
	width: 100%;
}

.monaco-split-view.horizontal > .split-view-view {
	height: 100%;
}

.monaco-split-view > .split-view-view > .header {
	position: relative;
	line-height: 22px;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	padding-left: 20px;
	overflow: hidden;
	display: flex;
}

.monaco-split-view > .split-view-view > .header.hide {
	display: none;
}

/* Bold font style does not go well with CJK fonts */
.monaco-split-view:lang(zh-Hans) > .split-view-view > .header,
.monaco-split-view:lang(zh-Hant) > .split-view-view > .header,
.monaco-split-view:lang(ja) > .split-view-view > .header,
.monaco-split-view:lang(ko) > .split-view-view > .header { font-weight: normal; }

.monaco-split-view > .split-view-view > .header.collapsible {
	cursor: pointer;
}

.monaco-split-view > .split-view-view > .header.collapsible {
	background-image: url('arrow-collapse.svg');
	background-position: 2px center;
	background-repeat: no-repeat;
}

.monaco-split-view > .split-view-view > .header.collapsible:not(.collapsed) {
	background-image: url('arrow-expand.svg');
	background-position: 2px center;
	background-repeat: no-repeat;
}

.vs-dark .monaco-split-view > .split-view-view > .header.collapsible {
	background-image: url('arrow-collapse-dark.svg');
}

.vs-dark .monaco-split-view > .split-view-view > .header.collapsible:not(.collapsed) {
	background-image: url('arrow-expand-dark.svg');
	background-position: 2px center;
	background-repeat: no-repeat;
}

/* Animation */

.monaco-split-view.animated > .split-view-view {
	transition-duration: 0.15s;
	-webkit-transition-duration: 0.15s;
	-moz-transition-duration: 0.15s;
	transition-timing-function: ease-out;
	-webkit-transition-timing-function: ease-out;
	-moz-transition-timing-function: ease-out;
}

.monaco-split-view.vertical.animated > .split-view-view {
	transition-property: height;
	-webkit-transition-property: height;
	-moz-transition-property: height;
}

.monaco-split-view.horizontal.animated > .split-view-view {
	transition-property: width;
	-webkit-transition-property: width;
	-moz-transition-property: width;
}

.hc-black .split-view-view .action-label {
	background: none;
}

.hc-black .split-view-view > .header .action-label:before {
	top: 4px !important;
}